class AddBasicInfoToCourses < ActiveRecord::Migration
  def self.up
    add_column :courses, :name, :string, :default=>"Kurssi"
    add_column :courses, :description, :text
    add_column :courses, :credits, :integer, :default=>5
  end

  def self.down
    remove_column :courses, :name
    remove_column :courses, :description
    remove_column :courses, :credits
  end
end
